package com.work.service;

import com.work.bean.Hw;
import com.work.bean.Teacher;
import com.work.dto.TeacherHw;

import java.util.List;

public interface HwService {

    public List<Hw> queryHw();
    public Hw queryHwById(Integer id);
    List<TeacherHw> queryTeacherHw();

    public  int saveHw(Hw hw, Teacher teacher, String url);
    public int updateHw(Hw hw);
    public int deleteHw(Integer id);

}
